package cn.wk.org.domain;

import cn.wk.basic.domain.BaseDomain;
import lombok.Data;

import java.util.List;

@Data
public class Department extends BaseDomain{

    private String sn;
    private String name;
    private Integer state;
    private String dirPath;
    private Employee manager;
    private Department parent;
    private List<Department> children;

    public String getValue (){
        return String.valueOf(id);
    }

    public String getLabel(){
        return name;
    }






}
